/*****************************************************************
*
*	Netcare Agent Project
*		Copyright(C) 2010, Wicresoft EKA. All Rights Reserved.
*
*	Authors:
*		Miles Chen (milesch@wicresoft.com)
*		TingRong Shi (trshi@wicresoft.com)
*
*	Part of the product code depends on gSOAP under GPL license
*		Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
*
*****************************************************************/
#include "netcare.h"
#include "soapHostSoap12ServiceImpl.h"
#include "soapHostSoap12Service.h"
#include "HostSoap12.nsmap"

USING_STD;
USING_NETCARE_AGENT;


static soapHostSoap12ServiceImpl hostImlp;

/// Web service operation 'GetProcesses' (returns error code or SOAP_OK)
int HostSoap12Service::GetProcesses(_ns1__GetProcesses *req, _ns1__GetProcessesResponse *res)
{
	return hostImlp.GetProcesses(req, res);
}

/// Web service operation 'KillProcess' (returns error code or SOAP_OK)
int HostSoap12Service::KillProcess(_ns1__KillProcess *req, _ns1__KillProcessResponse *res)
{
	return hostImlp.KillProcess(req, res);
}

/// Web service operation 'GetSystemInfo' (returns error code or SOAP_OK)
int HostSoap12Service::GetSystemInfo(_ns1__GetSystemInfo *req, _ns1__GetSystemInfoResponse *res)
{
	return hostImlp.GetSystemInfo(req, res);
}

/// Web service operation 'GetAgentInfo' (returns error code or SOAP_OK)
int HostSoap12Service::GetAgentInfo(_ns1__GetAgentInfo *req, _ns1__GetAgentInfoResponse *res)
{
	return hostImlp.GetAgentInfo(req, res);
}

/// Web service operation 'RestartService' (returns error code or SOAP_OK)
int HostSoap12Service::RestartService(_ns1__RestartService *req, _ns1__RestartServiceResponse *res)
{
	return hostImlp.RestartService(req, res);
}


/// Web service operation 'RestartOS' (returns error code or SOAP_OK)
int HostSoap12Service::RestartOS(_ns1__RestartOS *req, _ns1__RestartOSResponse *res)
{
	return hostImlp.RestartOS(req, res);
}


/// Web service operation 'MemoryRelease' (returns error code or SOAP_OK)
int HostSoap12Service::MemoryRelease(_ns1__MemoryRelease *req, _ns1__MemoryReleaseResponse *res)
{
	return hostImlp.MemoryRelease(req, res);
}


/// Web service operation 'DiskRelease' (returns error code or SOAP_OK)
int HostSoap12Service::DiskRelease(_ns1__DiskRelease *req, _ns1__DiskReleaseResponse *res)
{
	return hostImlp.DiskRelease(req, res);
}

/// Web service operation 'EnumServices' (returns error code or SOAP_OK)
int HostSoap12Service::EnumServices(_ns1__EnumServices *req, _ns1__EnumServicesResponse *res)
{
	return hostImlp.EnumServices(req, res);
}
